package com.woniu.mapper.mallSystem;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.model.mallSystem.entity.Commodity;
import com.woniu.model.mallSystem.vo.CommodityVo;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author Lzj
 * @since 2023-10-19
 */
@Mapper
public interface CommodityMapper extends BaseMapper<Commodity> {

    List<CommodityVo> findByCondition(Map<String, Object> condition);

    List<CommodityVo> advanceCondition(Map<String, Object> advanceCondition);
}
